import React, {Component} from 'react';
import {Table} from "@icedesign/base";

export default class ApiDataMobile extends Component{

    render(){
        return(
            <div>
                <div>
                    <Table dataSource={this.props.dataSource}>
                        <Table.Column title="参数" dataIndex="param"/>
                        <Table.Column title="说明" dataIndex="remark" />
                        <Table.Column title="可否为空" width={100} dataIndex="isBlack"/>
                        <Table.Column title="默认值" width={100} dataIndex="default"/>
                        <Table.Column title="样例" width={200} dataIndex="eg"/>
                    </Table>
                </div>
            </div>
        )
    }
}